package com.ruoyi.mobile.mapper;

import java.util.List;
import com.ruoyi.mobile.domain.LessonPointPrescriptionItem;
import com.ruoyi.mobile.domain.LessonPrescriptionItem;
import org.apache.ibatis.annotations.Param;

/**
 * 指定分数运动处方配置课程Mapper接口
 * 
 * @author ruoyi
 * @date 2023-01-10
 */
public interface LessonPointPrescriptionItemMapper 
{
    public List<String> getTitlesByPrescriptionId(Integer id);

    public List<LessonPointPrescriptionItem> getListByPrescriptionId(Integer id);

    public int insertList(List<LessonPointPrescriptionItem> list);

    public int updateList(List<LessonPointPrescriptionItem> list);

    public List<Integer> getIdListByPrescriptionId(@Param("prescriptionId") Integer prescriptionId);

    public int deleteByIds(List<Integer> list);

    public int deleteLessonPrescriptionByPrescriptionIds(Integer[] ids);

    public int insertLessonPointPrescriptionItem(LessonPointPrescriptionItem lessonPointPrescriptionItem);

    public int updateLessonPointPrescriptionItem(LessonPointPrescriptionItem lessonPointPrescriptionItem);
}
